package exam.model.entity.base;

import java.util.Set;

import exam.model.entity.TQuestionExamEntity;
import exam.model.entity.TSubQuestionEntity;
import exam.model.entity.TUserEntity;

/**
 * <p>TExaminationEntityRT</p>
 * <p>
 * Thể hiện quan hệ bảng:
 * {@link TSubQuestionEntity}
 * {@link TUserEntity}
 * {@link TQuestionExamEntity}
 * </p>
 * 
 * @author Phong
 * @version 09/05/2012
 */
public class TExaminationEntityRT {

	// Quan hệ nhiều-1: T_SUB_QUESTION
	protected TSubQuestionEntity subQuestionEntity;
	// Quan hệ nhiều-1: T_USER
	protected TUserEntity userEntity;
	// Quan hệ 1-nhiều: T_QUESTION_EXAM
	protected Set<TQuestionExamEntity> exams;
	
	// Get/Set subQuestionEntity
	public TSubQuestionEntity getSubQuestionEntity() {
		return subQuestionEntity;
	}
	public void setSubQuestionEntity(TSubQuestionEntity subQuestionEntity) {
		this.subQuestionEntity = subQuestionEntity;
	}
	
	// Get/Set userEntity
	public TUserEntity getUserEntity() {
		return userEntity;
	}
	public void setUserEntity(TUserEntity userEntity) {
		this.userEntity = userEntity;
	}
	
	// Get/Set exams
	public Set<TQuestionExamEntity> getExams() {
		return exams;
	}
	public void setExams(Set<TQuestionExamEntity> exams) {
		this.exams = exams;
	}

}
